package com.tencent.sr.iris.activity.interfaces.request;

import com.tencent.sr.rmall.common.request.PaginationRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @author nixiaolin
 * @date 2023/2/19 15:26
 */
@Data
public class IrisPaginationRequest<T> extends PaginationRequest<T> {

    @Valid
    @NotNull(message = "查询条件不能为空")
    @ApiModelProperty(notes = "查询条件")
    private T queryCriteria;
}
